package com.wanhau.quartz.simpleTrigger;

import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class MyJob implements Job {
	

	public void execute(JobExecutionContext context) throws JobExecutionException {
		System.out.println(context.getJobDetail().getKey().getGroup()+new Date());
		System.out.println(context.getJobDetail().getKey().getName()+new Date());
		System.out.println(context.getTrigger().getKey().getGroup()+new Date());
		System.out.println(context.getTrigger().getKey().getName()+new Date());
		System.out.println("====================");
	}

}
